package com.sunreal.paygateway.sys.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.sunreal.paygateway.sys.dao.model.SysRole;

@Mapper
public interface SysRoleMapper {
    int deleteByPrimaryKey(String roleid);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(String roleid);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

    List<SysRole> selectRolesByUserID(String userid);
}